package com.wakaca.design.pattern.behavioral.netty;

/**
 * 责任处理器
 */
public abstract class AbstractHandler {

    protected static final int MIN = 1;
    protected static final int MIDDLE = 3;
    protected AbstractHandler nextHandler;

    /**
     * 此处理将数据处理并向下传递相关参数至下一个调用链路
     */
    public abstract void doHandler(HandlerChainContext handlerChainContext, Object arg0);

}
